toggle menu
modelix.core
8.16.0
js
switch theme
search in API
model-api
/
[root]
/
ModelService
Model
Service
js
open
external
class
ModelService
(
server
:
IModelServerConnection
)
Members
Constructors
Model
Service
Link copied to clipboard
js
constructor
(
server
:
IModelServerConnection
)
Properties
id
Generator
Link copied to clipboard
js
open
var
idGenerator
:
Any
load
Node
Link copied to clipboard
js
open
var
loadNode
:
Any
nodes
Link copied to clipboard
js
open
var
nodes
:
Any
server
Link copied to clipboard
js
open
var
server
:
Any
version
Hash
Link copied to clipboard
js
open
var
versionHash
:
Any
version
Received
Link copied to clipboard
js
open
var
versionReceived
:
Any
Functions
add
New
Node
Link copied to clipboard
js
open
fun
addNewNode
(
parent
:
NodeId
,
role
:
String
,
index
:
Number
,
concept
:
String
)
contains
Node
Link copied to clipboard
js
open
fun
containsNode
(
nodeId
:
NodeId
)
:
Boolean
get
Children
Link copied to clipboard
js
open
fun
getChildren
(
parentId
:
NodeId
,
role
:
String
)
:
Array
<
NodeId
>
get
Node
Data
Link copied to clipboard
js
open
fun
getNodeData
(
id
:
NodeId
)
:
NodeData
?
get
Property
Link copied to clipboard
js
open
fun
getProperty
(
nodeId
:
NodeId
,
role
:
String
)
:
String
?
set
Property
Link copied to clipboard
js
open
fun
setProperty
(
nodeId
:
NodeId
,
role
:
String
,
value
:
String
?
)